package com.sansi.pencilbook.service;

import com.sansi.pencilbook.DO.Result;
import com.sansi.pencilbook.entity.BookStore;

import java.util.List;

/**
 * 功能说明: 书店的服务接口
 *
 * @author lsy13
 */
public interface BookStoreServer {

    public Result getAllStores();

    //获得用户开设的书店
    public Result getStoreByUser(int userId);

    //书店开设
    public Result addStore(BookStore bookStore);

    public Result getStore(int storeId);

    //书店信息更改
    public Result modifyStore(BookStore bookStore);

    //书店倒闭
    public Result deleteStore(BookStore bookStore);
}
